<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <title><?=$info['title']?> - 爱美文网</title>
        <link rel="shortcut icon" href="/favicon.png?2" type="image/x-icon" />
        <link rel="stylesheet" href="/layui/dist/css/layui.css?<?=$version?>">
        <link rel="stylesheet" href="/site.css?<?=$version?>">
    </head>
    <body>
        <!-- 你的HTML代码 -->
        <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
        <!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->          

        <?php require TPL_PATH . 'home/header.html'; ?>
        
        <div class="layui-container">

            <!--页面内容-->
            <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
                <legend><?=$info['title']?></legend>
            </fieldset>

            <div class="layui-row page-content-div">
                <div class="page-content" class="layui-col-md6"><?=nl2br($info['content'])?></div>
            </div>

            <?php require TPL_PATH . 'home/footer.html'; ?>

        </div>
        <script src="/layui/dist/layui.js?<?=$version?>"></script>
        <script src="/site.js?<?=$version?>"></script> 
    </body>
</html>